﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PopupTypeofBusiness.aspx.cs" Inherits="MockPrjTeam4.Pages.Views.PopupTypeofBusiness" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .search
        {
            width: 445px;
            }
        .wrap
        {
            width: 445px;
            border: 1px solid #330099;    
            }
        .txt
        {}
    </style>
</head>
<body>
    <form id="form1" runat="server" class="wrap">
    <div class="search">
            <table border="0" cellspacing="2" cellpadding="2" width="100%">
            	<tr>
            		<td>Business Name: </td>
                    <td class="style1">
                        <asp:TextBox ID="txtFirstname" runat="Server" CssClass="txt" Width="102px"></asp:TextBox>
                    </td>
                    <td align="right">SIC Code: </td>
                    <td>
                        <asp:TextBox ID="txtSurname" runat="Server" CssClass="txt"></asp:TextBox>
                    </td>
            	</tr>
                <tr>
                    <td colspan="3">
                        <asp:Button ID="btnSearch" runat="Server" Text="Search" 
                            onclick="btnSearch_Click"/>&nbsp
                        <asp:Button ID="btnNone" runat="Server" Text="None" OnClick="btnNone_Click"/>&nbsp
                        <asp:Button ID="btnClear" runat="Server" Text="Clear" onclick="btnClear_Click"/>&nbsp
                    </td>
                </tr>
            </table>
        </div>
    <div>
        <asp:GridView ID="gvTypeOfBusiness" runat="Server" AutoGenerateColumns="False"
        DataKeyNames="BusinessId" BackColor="White" BorderColor="#CC9966" 
            BorderStyle="None" BorderWidth="1px" CellPadding="4" Height="179px" 
            Width="445px" PageSize="5">
            <Columns>
                <asp:BoundField DataField="BusinessName" HeaderText="Business Name"/>
                <asp:BoundField DataField="SICCode" HeaderText="SIC Code"/>
                <asp:CommandField HeaderText="Select" ControlStyle-ForeColor="red"
                ControlStyle-Font-Underline="true" ShowSelectButton="true"
                ShowHeader="true">
                <ControlStyle Font-Underline="True" ForeColor="Red"></ControlStyle>
                </asp:CommandField>
            </Columns>
            <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
            <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
            <RowStyle BackColor="White" ForeColor="#330099" />
            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
            <SortedAscendingCellStyle BackColor="#FEFCEB" />
            <SortedAscendingHeaderStyle BackColor="#AF0101" />
            <SortedDescendingCellStyle BackColor="#F6F0C0" />
            <SortedDescendingHeaderStyle BackColor="#7E0000" />
        </asp:GridView>
        <br />
        <asp:Button ID="btnSelect" runat="Server" Text="Select" 
            onclick="btnSelect_Click"/>
    </div>
    </form>
</body>
</html>
